package com.muyu.danmo.service;


import com.muyu.common.core.domain.Result;
import com.muyu.danmo.domain.DanmoUserVisitors;

import java.util.List;

/**
 * 访客Service接口
 * 
 * @author yangle
 * @date 2024-11-15
 */
public interface IDanmoUserVisitorsService 
{
    /**
     * 查询访客
     * 
     * @param visitorId 访客主键
     * @return 访客
     */
    public DanmoUserVisitors selectDanmoUserVisitorsByVisitorId(Long visitorId);

    /**
     * 查询访客列表
     * 
     * @param danmoUserVisitors 访客
     * @return 访客集合
     */
    public List<DanmoUserVisitors> selectDanmoUserVisitorsList(DanmoUserVisitors danmoUserVisitors);

    /**
     * 新增访客
     * 
     * @param danmoUserVisitors 访客
     * @return 结果
     */
    public Result insertDanmoUserVisitors(DanmoUserVisitors danmoUserVisitors);

    /**
     * 修改访客
     * 
     * @param danmoUserVisitors 访客
     * @return 结果
     */
    public Result updateDanmoUserVisitors(DanmoUserVisitors danmoUserVisitors);

    /**
     * 批量删除访客
     * 
     * @param visitorIds 需要删除的访客主键集合
     * @return 结果
     */
    public Result deleteDanmoUserVisitorsByVisitorIds(Long[] visitorIds);

    /**
     * 删除访客信息
     * 
     * @param visitorId 访客主键
     * @return 结果
     */
    public Result deleteDanmoUserVisitorsByVisitorId(Long visitorId);

    List<DanmoUserVisitors> selectDanmoUserList();


}
